package ooday04;
//班主任:    继承超类，重写完成工作()
public class Teacher extends Staff{
    Teacher(String name,int age,double salary){
        super(name,age,salary);
    }

    void finishWork() {
        System.out.println(name + "完成了他班主任的工作");
    }
}
